// behavior.js

import { BehaviorWithStore } from 'mobx-miniprogram-bindings'
import { LoginStore } from '../../stores/index'

export const loginBehavior = BehaviorWithStore({
  storeBindings: {
    namespace: 'LoginStore',
    store: LoginStore,
    fields: ['data'],
    actions: ['user_login','handleInput'],
  }
})

